Optimal. Leaf size=251 \[ \frac{157160 \left (3 x^2+5 x+2\right )^{3/2} \sqrt{x}}{243243}-\frac{8 (502911 x+397265) \sqrt{3 x^2+5 x+2} \sqrt{x}}{2189187}+\frac{1543648 (3 x+2) \sqrt{x}}{6567561 \sqrt{3 x^2+5 x+2}}+\frac{349240 \sqrt{2} (x+1) \sqrt{\frac{3 x+2}{x+1}} F\left (\tan ^{-1}\left (\sqrt{x}\right )|-\frac{1}{2}\right )}{2189187 \sqrt{3 x^2+5 x+2}}-\frac{1543648 \sqrt{2} (x+1) \sqrt{\frac{3 x+2}{x+1}} E\left (\tan ^{-1}\left (\sqrt{x}\right )|-\frac{1}{2}\right )}{6567561 \sqrt{3 x^2+5 x+2}}-\frac{10}{39} \left (3 x^2+5 x+2\right )^{3/2} x^{7/2}+\frac{656 \left (3 x^2+5 x+2\right )^{3/2} x^{5/2}}{1287}-\frac{21620 \left (3 x^2+5 x+2\right )^{3/2} x^{3/2}}{34749} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.480252, antiderivative size = 251, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24 \[ \frac{157160 \left (3 x^2+5 x+2\right )^{3/2} \sqrt{x}}{243243}-\frac{8 (502911 x+397265) \sqrt{3 x^2+5 x+2} \sqrt{x}}{2189187}+\frac{1543648 (3 x+2) \sqrt{x}}{6567561 \sqrt{3 x^2+5 x+2}}+\frac{349240 \sqrt{2} (x+1) \sqrt{\frac{3 x+2}{x+1}} F\left (\tan ^{-1}\left (\sqrt{x}\right )|-\frac{1}{2}\right )}{2189187 \sqrt{3 x^2+5 x+2}}-\frac{1543648 \sqrt{2} (x+1) \sqrt{\frac{3 x+2}{x+1}} E\left (\tan ^{-1}\left (\sqrt{x}\right )|-\frac{1}{2}\right )}{6567561 \sqrt{3 x^2+5 x+2}}-\frac{10}{39} \left (3 x^2+5 x+2\right )^{3/2} x^{7/2}+\frac{656 \left (3 x^2+5 x+2\right )^{3/2} x^{5/2}}{1287}-\frac{21620 \left (3 x^2+5 x+2\right )^{3/2} x^{3/2}}{34749} \]
Antiderivative was successfully verified.
[In] Int[(2 - 5*x)*x^(7/2)*Sqrt[2 + 5*x + 3*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 49.3499, size = 236, normalized size = 0.94 \[ - \frac{10 x^{\frac{7}{2}} \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{39} + \frac{656 x^{\frac{5}{2}} \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{1287} - \frac{21620 x^{\frac{3}{2}} \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{34749} + \frac{771824 \sqrt{x} \left (6 x + 4\right )}{6567561 \sqrt{3 x^{2} + 5 x + 2}} - \frac{64 \sqrt{x} \left (\frac{7543665 x}{8} + \frac{5958975}{8}\right ) \sqrt{3 x^{2} + 5 x + 2}}{32837805} + \frac{157160 \sqrt{x} \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{243243} - \frac{385912 \sqrt{\frac{6 x + 4}{x + 1}} \left (4 x + 4\right ) E\left (\operatorname{atan}{\left (\sqrt{x} \right )}\middle | - \frac{1}{2}\right )}{6567561 \sqrt{3 x^{2} + 5 x + 2}} + \frac{87310 \sqrt{\frac{6 x + 4}{x + 1}} \left (4 x + 4\right ) F\left (\operatorname{atan}{\left (\sqrt{x} \right )}\middle | - \frac{1}{2}\right )}{2189187 \sqrt{3 x^{2} + 5 x + 2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((2-5*x)*x**(7/2)*(3*x**2+5*x+2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.295191, size = 178, normalized size = 0.71 \[ \frac{-495928 i \sqrt{2} \sqrt{\frac{1}{x}+1} \sqrt{\frac{2}{x}+3} x^{3/2} F\left (i \sinh ^{-1}\left (\frac{\sqrt{\frac{2}{3}}}{\sqrt{x}}\right )|\frac{3}{2}\right )+1543648 i \sqrt{2} \sqrt{\frac{1}{x}+1} \sqrt{\frac{2}{x}+3} x^{3/2} E\left (i \sinh ^{-1}\left (\frac{\sqrt{\frac{2}{3}}}{\sqrt{x}}\right )|\frac{3}{2}\right )+2 \left (-7577955 x^8-10195794 x^7+671895 x^6+2892348 x^5+58374 x^4-141444 x^3+670548 x^2+2811400 x+1543648\right )}{6567561 \sqrt{x} \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In] Integrate[(2 - 5*x)*x^(7/2)*Sqrt[2 + 5*x + 3*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.139, size = 143, normalized size = 0.6 \[ -{\frac{2}{19702683} \left ( 22733865\,{x}^{8}+30587382\,{x}^{7}-2015685\,{x}^{6}-8677044\,{x}^{5}+633876\,\sqrt{6\,x+4}\sqrt{3+3\,x}\sqrt{3}\sqrt{2}\sqrt{-x}{\it EllipticF} \left ( 1/2\,\sqrt{6\,x+4},i\sqrt{2} \right ) -385912\,\sqrt{6\,x+4}\sqrt{3+3\,x}\sqrt{3}\sqrt{2}\sqrt{-x}{\it EllipticE} \left ( 1/2\,\sqrt{6\,x+4},i\sqrt{2} \right ) -175122\,{x}^{4}+424332\,{x}^{3}+4934772\,{x}^{2}+3143160\,x \right ){\frac{1}{\sqrt{x}}}{\frac{1}{\sqrt{3\,{x}^{2}+5\,x+2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((2-5*x)*x^(7/2)*(3*x^2+5*x+2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ -\int \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (5 \, x - 2\right )} x^{\frac{7}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-sqrt(3*x^2 + 5*x + 2)*(5*x - 2)*x^(7/2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (-{\left (5 \, x^{4} - 2 \, x^{3}\right )} \sqrt{3 \, x^{2} + 5 \, x + 2} \sqrt{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-sqrt(3*x^2 + 5*x + 2)*(5*x - 2)*x^(7/2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2-5*x)*x**(7/2)*(3*x**2+5*x+2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int -\sqrt{3 \, x^{2} + 5 \, x + 2}{\left (5 \, x - 2\right )} x^{\frac{7}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-sqrt(3*x^2 + 5*x + 2)*(5*x - 2)*x^(7/2),x, algorithm="giac")
[Out]